package com.crack.nga2.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2015/12/15.
 */
public class SubForum implements Serializable{
    private int fid;
    private String name;
    private String info;
    private String create_name;
    /**
     * 是否被选择显示
     */
    public boolean isSelected;

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getCreate_name() {
        return create_name;
    }

    public void setCreate_name(String create_name) {
        this.create_name = create_name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        SubForum forum = (SubForum) o;

        return fid == forum.fid;

    }

    @Override
    public int hashCode() {
        return fid;
    }

    @Override
    public String toString() {
        return "SubForum{" +
                "fid=" + fid +
                ", name='" + name + '\'' +
                ", info='" + info + '\'' +
                '}';
    }
}
